package cn.ly.core.thread.ticket;

public class SellTicketsDemo {
	
	public static void main(String[] args) {
		Ticket t = new Ticket(100);
		SellTicket st = new SellTicket(t);
		
		Thread t1 = new Thread(st);
		Thread t2 = new Thread(st);
		Thread t3 = new Thread(st);
		
		t1.start();
		t2.start();
		t3.start();
		
	}

}
